package indigo.config
{
	public class ReferenceProperty extends Property
	{
		public function ReferenceProperty(name:String=null, value:Object=null)
		{
			super(name, value);
		}
		
		public override function initialize(initiator:IInitiator):void {
			// TODO: Gérer le cas ou il est déjà instancié
			if(_value is String)
				_value = initiator.factory.getObject(value);
			initiator.visit(this);
		}
	}
}